package com.itheima.domain;

//定义管理员
public class Admin {
    //id
    private Integer aid;
    //姓名
    private String aname;
    //用户名
    private String username;
    //密码
    private String password;
    //是否为超级管理员标记,false为否,true为是
    private boolean issuper;

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isIssuper() {
        return issuper;
    }

    public void setIssuper(boolean issuper) {
        this.issuper = issuper;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", issuper=" + issuper +
                '}';
    }
}
